(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <proto/dos.h>
BPTR SetProgramDir()
SYNOPSIS
BPTR lock

LOCATION
In DOSBase at offset 99
FUNCTION
This function will set a shared lock on the directory that the current program was loaded from. This can be accessed through the path PROGDIR:. The use of this path is to allow the program to easily access files which are supplied with the program.

INPUTS
lock
The lock to set as the new program directory. NULL is a valid value.
RESULT
This function will return the old program directory lock.

NOTES
This function will not duplicate the lock, so you should not free the lock.

EXAMPLE
BUGS
SEE ALSO
GetProgramDir()
INTERNALS
HISTORY
24.02.1997 iaint
Some new DOS function, required by locale
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column